package com.aspose.cells;

class zbxn extends zcdb {
   zbxn(PivotField var1) throws Exception {
      this.d = 293;
      int var2 = 25;
      byte var3 = 0;
      byte[] var10000 = new byte[]{-1, -1, -1, -1};
      zbqn var5 = var1.i;
      String var6 = var5.g;
      if (var6 != null) {
         var2 += var6.length() * 2 + 4;
      }

      this.c = new byte[var2];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.k.c()), 0, this.c, 0, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(zcee.R(var5.a)), 0, this.c, 4, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var5.b), 0, this.c, 8, 4);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var5.c), 0, this.c, 12, 4);
      if (var1.getBaseItemPosition() == 0) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(1048828), 0, this.c, 16, 4);
      } else if (var1.getBaseItemPosition() == 1) {
         System.arraycopy(com.aspose.cells.b.a.zc.a(1048829), 0, this.c, 16, 4);
      } else {
         System.arraycopy(com.aspose.cells.b.a.zc.a(var5.d), 0, this.c, 16, 4);
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var5.e), 0, this.c, 20, 2);
      byte var7 = 25;
      var6 = var5.g;
      if (var6 != null) {
         byte var8 = (byte)(var3 | 1);
         this.c[24] = var8;
         zcch.a(this.c, var7, var6);
      }

   }
}
